package com.itheima.reggie.entity;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliOssPropertios {

    //@Value("${aliyun.oss.endpoint}")
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName ;
}
